#ifndef LENGTHUNIT_H
#define LENGTHUNIT_H
#include <Unit.h>

class LengthUnit: public Unit{
  public:
    static LengthUnit& getInch();
    static LengthUnit& getFeet();
    static LengthUnit& getYard();
    static LengthUnit& getMile();
  
  private:
    LengthUnit(unsigned int convertToAmountFactor, const char* name, const LengthUnit* next);
};

///////////Length Unit////////////
#define INCH LengthUnit::getInch()
#define FEET LengthUnit::getFeet()
#define YARD LengthUnit::getYard()
#define MILE LengthUnit::getMile()

#endif
